package web.beans;

import ejb.entities.User;
import java.util.Date;

public interface Login {
public abstract User getUser();
public abstract String getUserFullName();
public abstract void refreshUser();
public Boolean isLoged();
public int getEventSelected();
public void setEventSelected(int eventSelected);
public void setEventSelected(String title, Date dateStart, Date dateEnd);
public boolean isNotifyUp();
public int getNotifyCounter();
public void setNotifyUp(boolean notifyUp);
public void setNotifyCounter(int notifyCounter);
public void setFirstAccessUp(boolean firstAccessUp);
public boolean isFirstAccessUp();
public void setUser(User user);
public String getTitleSelected();
public Date getDateStartSelected();
public Date getDateEndSelected();
public void setTitleSelected(String titleSelected);
public void setDateStartSelected(Date dateStartSelected);
public void setDateEndSelected(Date dateEndSelected);
public int getBadweatherCounter();
public void setBadweatherCounter(int badweatherCounter);
 
 //Redirect methods
public void goToHome();
public void goToProfile();
public void goToRegister();
public void goToNewEvent();
public void goToIndex();
public void goToManagerEvent();
 
public Date getToday();
public Date getTomorrow();
public Date fromDateTimetoDate(Date datetime);
 
}
